export const makeSSOCookies = () => {
  const cookies: Record<string, any> = []
  const domain = ['.ztosys.com']
  const cookieVals = [
    {
      name: 'wyandyy',
      value:
        'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjMwNjA4MDAsImlhdCI6MTcyMjk5OTgxMCwiaXNzIjoiY29tLnp0by5jb25uZWN0IiwibmJmIjoxNzIyOTk5ODEwLCJzZXNzaW9uaWQiOiJkZTUzMWE1ZTA3MmQ5MTM5MmM5Yzk4N2U4M2U2YTE0NGU3NmQ4ZjM0fDE3MjI5OTk4MTAiLCJ1dWlkIjoiNDF1ZVROVTFXRGFsSzUxMTcxU29QUSJ9.WqpYnufehhCrOjA8mXaf0MOiUJpqjC-tcuPZk-n21EC91CXmWpNx3KUg-ER7wp3MZdCbzzlRS0wfjuqJU98lV1rEdwwQ8_Gc6B4L2j4BgmSPkC_b7ge-ojm-KpGHjxV40Ry1qvoLoJ9uqSSRXQxeTeiLa7aUMnmYkSJNLhmzas9GRZSEY6TJBax3ycYczkGyi7YlccM5T9n-1tmNzVmXf728fqw-g6gyFPvmeDBVegA0PuJ58vBxu8xJKVGdUwysLQ8Yl-pNQc_IyB0c8wcvN4wApsDrHuYUGJEfI_-IjD7xjRma-S9D13U-D5BbsNgD5iJ1MC-dlNSGyTnzDNskqA'
    },
    // {
    //   name: 'wyzdzjxhdnh',
    //   value:
    //     'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjM0MjU4NzIsImlhdCI6MTcyMjIxNjI3MiwiaXNzIjoiY29tLnp0by5jb25uZWN0IiwibmJmIjoxNzIyMjE2MjcyLCJ1dWlkIjoiNDF1ZVROVTFXRGFsSzUxMTcxU29QUSJ9.Ybv0hV-PlXDdAfJE6MbD0B4MApcPdBoBYktRgpNGf9i8kX2Q0_P7M4wnGpRgEOcZeb80lPCvM7MhUitMVEmANIjfqAofaqPurDG89Dz6wyxpMRgEeFz7zY2rn9VQDyLODMWTch2rkBCW0d7pcWOIjF6yM4P_vhHVyLvAoqCjvkayTQLNF1QJyO4Nu_w7j3m6pLiu2T093FcX9_TlfgK2M2VltTt3GZNb9b7UOgfaG_HGotPO8B0sjKaOL3eksReFCNmKNWsXXprydVYlFKjC1trwFxOuLJrZERe4730Yulxl_F0YQWdC-kqXLZZDYXcTJxMkCYBTMT6A4kB58xGezg'
    // }
  ]

  cookieVals.forEach(a => {
    cookies.push(
      domain.map(d => ({
        ...a,
        domain: d,
        sameSite: 'None',
        httpOnly: true,
        secure: true,
        path: '/'
      }))
    )
  })

  return cookies.flat()
}
